﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Public;

namespace WebsiteAdmin.Salomon.MP
{
    public partial class Base : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Cookie.AdminLoginName == null || Cookie.AdminLoginName == "")
            {
                Cookie.AdminLogOut();
                Response.Redirect("/");
            }
        }
    }
}
